package com.bwie.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
public class UserPageInfoVo implements Serializable {

    @NotNull(message = "每页数量不能为空")
    private Integer pageSize;

    @NotNull(message = "页数不能为空")
    private Integer pageNum;

    @NotBlank(message = "关键字不能为空")
    @Size(min = 2,max = 5,message = "关键字必须2-5位")
    private String keyWord;

}
